#ifndef _APP_MUSIC_PLAY_H
#define _APP_MUSIC_PLAY_H

esp_err_t app_audio_play(const char *uri,  int pos);
esp_err_t app_audio_pause(void);
esp_err_t app_audio_resume(void);
esp_err_t app_audio_stop(void);
esp_err_t app_audio_set_vol(int vol);
esp_err_t app_audio_get_vol(int* vol);
esp_err_t app_audio_playlist_sd_scan(const char *path);
esp_err_t app_audio_playlist_sd_show(void);
esp_err_t app_audio_playlist_sd_next(int step);
esp_err_t app_audio_playlist_sd_prev(int step);


bool app_audio_is_runing(void);

void initialise_music(void);

#endif